package com.nxk.modules.core.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Accessors
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_office")
public class SysOffice extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    public String id;

    @Length(max = 64,message = "机构代码最大长度不能超过64位")
    private String officeCode;


    @Length(max = 255,message = "公司logo最大长度不能超过255位")
    private String officeLogo;

    @Length(max = 255,message = "公众号地址最大长度不能超过255位")
    private String officeWechat;

    @Length(max = 255,message = "公司名称最大长度不能超过255位")
    private String officeName;

    @Length(max = 255,message = "公司领域最大长度不能超过255位")
    private String officeField;

    @Length(max = 64,message = "公司人员不能超过64位")
    private String officePersonnnel;

    @Length(max = 64,message = "法定代表人长度不能超过64位")
    private String officeLegal;

    @Length(max = 64,message = "注册资金长度不能超过64位")
    private String officeMoney;

    @Length(max = 255,message = "公司地址长度不能超过255位")
    private String officeAddress;

    @Length(max = 500,message = "公司介绍长度不能超过500位")
    private String officeIntroduce;

    private String officeIntroduceDetail;

    @Length(max = 64,message = "办公电话不能超过64位")
    private String officeTel;

    @Length(max = 64,message = "统一信用号码不能超过64位")
    private String creditNumber;

    @Length(max = 64,message = "负责人不能超过64位")
    private String chargePerson;

    @Length(max = 64,message = "负责人手机号不能超过64位")
    private String chargePhone;

    @Length(max = 64,message = "负责人邮箱不能超过64位")
    private String chargeEmail;


}
